<?php 
	Class Test extends CI_Controller{
		public function __construct(){
			parent::__construct();
            $this->load->library("pager");
			$this->load->model("model_package");
			$this->load->model("model_packageprice");
			$this->load->model("model_hotel");
			$this->load->model("model_hotelreview");
			$this->load->model("model_hotelroom");
			$this->load->model("model_hotelroomprice");
			$this->load->model("model_restaurant");
			$this->load->model("model_restaurantreview");
			$this->load->model("model_activity");
			$this->load->model("model_activityprice");
			$this->load->model("model_activityreview");
			$this->load->model("model_flight");
			$this->load->model("model_flightprice");
			$this->load->model("model_guild");
			$this->load->model("model_car");
		}
		
		public function index(){
			$data['data']=$this->model_flightprice->getpricebyflightid_date('2','2013-11-01');
			var_dump($data['data']);
		}
	}
?>